package com.tian.enums;

import lombok.Getter;

/**
 * {@code @description:} 消息重试类型
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-12-09 10:31
 * {@code @version:} 1.0
 */
@Getter
public enum MessageRetryType {
    SMS(1, "发短信"),
    EMAIL(2, "发邮件"),
    SYSTEM_MESSAGE(3, "发站内信"),
    ;
    private final Integer type;
    private final String desc;

    MessageRetryType(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}
